package org.lzy.shop.viewmodel.repository

import org.lzy.shop.response.CouponResponse

interface CouponRepository {
    // 获取可用优惠券列表
    suspend fun getCoupons(): CouponResponse?

    // 获取我的优惠券列表
    suspend fun getMyCoupons(page: Int, size: Int = 10): CouponResponse?

    // 领取优惠券
    suspend fun receiveCoupon(couponId: Int?): String?
}
/**
 * 优惠券数据仓库实现
 */
